fix problem with malformed file path when droping local files on map