There's no need to pass DependencyOutputOptions to each call of handleFileDependency, since the options don't ever change.
This patch adds new handleDependencyOutputOpts method to the DependencyConsumer interface and the dependency scanner uses it to report the options only once.