tiny_psnr: support unseekable raw files.