You could avoid all of this temp file creation if ``extract_reads_from_interleaved`` takes a file handle instead of a file path.