ensure source map output to correct folder