Fix a path inconsistency on sourcemaps

The 'file' field in the generated source maps should not contain
the directory part, since the generated sourcemap is placed in
the same directory, too.