Fix corner case when loading huge files with strings