Fix for non-windows file paths with spaces