Fix ln using bad paths when given abspaths.

`path.join` will produce a bad path if given an abspath like `/home/foo`.
`path.resolve` is what we really want.

@arturadib - Ready for review.