absolutize the path of target file.  refs #1