Fix an issue with tr on OS X

The version of tr that ships with OS X can't handle certain binary
inputs if the locale is set to a certain value. This sets the locale
to C.
Merge pull request #18 from lorin/osx-fix

Fix an issue with tr on OS X