Support OSGi bundles from extension files.

[Review issue 2472002]