Improved support for files over 4GB