mktemp incorrectly handles template-parameter
What happens:
$ mktemp -u blah.tmp_XXXXXX
blah.T97AeK
$ mktemp -u /home/me/blah.tmp_XXXXXX
/home512h4b
Expected:
$ mktemp -u blah.tmp_XXXXXX
blah.tmp_T97AeK
$ mktemp -u /home/me/blah.tmp_XXXXXX
/home/me/blah.tmp_512h4b
(from redmine: issue id 1864, created on 2013-05-15, closed on 2013-12-09)