fix extra leading path separator in tranmap.dat file name

resulting in tranmap.dat being saved in the root directory when
(configdir == ""), i.e. on Windows.

fixes: #21
replace strcpy and strcat with safe alternatives