Adding mapfile reinit() (following @yjacolin's PR)