Fixing issues with the way files were being encoded during save process.
Fixing issues with the way files were being encoded during save process.