Export mapSourcePosition.

Exposing mapSourcePosition makes it possible to easily create custom exception
handlers.