fix absolute path resolution for sourcemaps

Fix for #161. Using regex to replace file: protocol with 2 or 3 slashes for *nix and windows respectively.