Cleanup in IOUtils

This commit cleans up a bunch of stuff including method name changes
and internal logic cleanup. Lookin' better.
Specify US locale for string formatting

The locale should be explicitly specified to make sure that the
conversion takes place just as you would expect for ASCII (which is
pretty much the same as the English language for this stuff).