fixes the path separator bug. Now uses exclusively UNIX separators.