Don't accept cruft at the end of files
Fix read_compressed progress bar