escaped the tr string so it will work on windows as well as osx, see #5