Create mapping file directory if it doesn't exist