Correct file size fix for iOS