Handling windows path for export.