fix sourcemap filename resolution