Changed base code to match Bitadroid

Source
https://github.com/DavidGMarquez/Bitadroid
Changed to save as an uncompressed file
Changed to save as an uncompressed file