Issue 96: Construct dist url with slashes in mind

It's dependendant on The Archive manager call realpath on $directory.

I'm not familiar enough with the code to find a really good solution.

Is this ok?