create target dir for a map file if it doesn't exist