Fixed file path parsing (fixed build on windows)

Existing code doesn't work on windows because of the different path separator, updated to use platform independent code.

Merge request reports

Loading