Use OS path separator for replacements.

Closes #32.