Don't corrupt binary files on hashing
Parameterize the hash character length.
Merge pull request #13 from guardian/master

Minor fix and option from https://github.com/guardian/frontend