MOV and fclose() fixes.