resolves 1266 by using standard concatenation when baseUrl begins with file://