Use #write instead of #puts when writing fixed manifest
Merge pull request #274 from rodjek/write_file_properly

Use #write instead of #puts when writing fixed manifest