Replace ScalaSourceFile dependency with InteractiveCompilationUnit

The former is internal API.