Fixed symbolic links.

And downloading file locally (in tmp instead of /tmp)