absolutize the path of target file.  refs #1
Merge pull request #2 from issm/filepath-fix

absolutize the path of target file