Replace backslashes on Linux/OS X