Replace all path separators

Fixes issues #20 and #21