take basename of hap position file when generating the filename of *.map file