[CommCoreModule] cleanup methods for creating backup
Summary:
ENG-9656.
Cleaning old code to make it more straightforward, reducing code duplication.
Depends on D13935
Test Plan: Tested in D13937
Reviewers: bartek, tomek
Reviewed By: bartek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13936