Copy symlink target to tmp directory.

This is one alternative to close #3.