Fixed bug with file separator not changing to a standard file separator.