Replace all backslashes to slashes

Needed for correct work of filename-only mode on windows