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.