Trivial change to enable creating/updating binary content (files).

I need to use git as a file server for all kinds of files, including binary ones.  This Java library is very nice but it's missing the ability to create or update binary files.  Adding support for it was a trivial change that I would appreciate if you can merge ASAP. 

Thanks!
Alvaro