When generating a file:/// URL from the current working directory, always append a trailing slash so that it can be properly based against.