HIVE-7093: Separate static and dynamic partitioning implementations from
FileRecordWriterContainer.