Corrected file write error in standard77