Fix CM's backup script and make it work regardless of rom version

Gapps should be backed up now upon rom flash