make getSourceFile use getCurrentSourceFile
Merge pull request #1000 from Microsoft/staleSourceFile

fix for issue #999