This causes serialization failures when a PartitionStrategy that uses the DateFormatPartitioner is saved.