fixed a cross-platform issue with the os path separator