Optimized I/O for dumps.