Rename, cleanup, and improve read_file function.
Create create_file_from_blob function.
Fix saved file having slightly altered, incorrect bytes.
Remove unused function.
Fix reading back of binary file not giving expected bytes.