Support for binary files. Not quite there yet. It seems python isn't handling binary files correctly.