Refactor out compression of backups to allow for future differing formats