don't add trailing slash to file URLs