fixed error on empty files
added friendly and informative output to extract-partitions
Merge branch 'partition_fq_fix_legacy' into partition_fq_fix