Added more descriptive exceptions to map2dat