read/write support for partitioned sequence files

I didn't get time to add support for avro, but it should now be relatively easy to do so as i moved the core functionality to PartitionedSink