set errno for file too big