Avoid truncating length of very large files