Ensure images are saved in binary mode

Fixes the image loader on Windows, where the default buffer file coding is DOS line endings. We can locally set `coding-system-for-write` to keep Emacs from touching the buffer when the temporary file is saved.
Merge pull request #13 from pao/patch-1

Ensure images are saved in binary mode