How to handle large-file (>2G) IO?