Use DIRECTORY_SEPERATOR constant for safer cross-platform file access

This will e.g. use the native '\' instead of the hard-coded '/' for file access on Windows