path.join doesn't play nice with URL's.