Made HiveBSONFileOutputFormat as a superclass for HiveBSONStorageHandlerFileOutputFormat because of shared methods. But they can't be inner classes since they need to be instantiated clear of one another.