mv-ln: improve string handling