Simplifies resolving paths in source map stringifier.