Large file fix from Matlab's silent down-casting