Using require.toUrl to generate a relative-to-module URL