path.join does OS based path joining

on Windows this causes back slashes in the path which is not a valid url.