Use filesep  to allow export-images to work on the mac.