Replace backslashes with forward slashes in path