Fix for partitioning to retain FASTQ format throughout.

@mr-c, @cswelcher, assuming jenkins finds no problems, this is up for review.