calc_rpkm: Check for legacy HDF5 files and calculate total_reads appropriately