Added binary mode to file operations.
Updated README.md