Create temporary copy of symlink before uploading, fixes #1765

Have run `go fmt` and `make test`, no problems.

Not sure how I'm supposed to link this to #1765 , hopefully just mentioning it in the description/title does it. Please see that issue for further details.

Thanks!