Optimized seek for large file and log output on IOS.