Allow sourceMap as a function to compute map path

Given a function for sourceMap, pass it the destination file path so
that a source map path can be computed and returned.