Fix path for sourceMap

fixes #425
- Use path.basename