[oops] revert write retry as it breaks Syslinux

* This reverts 0206e2036e382231f5219c160d69ec26f7fe7f89
* Closes #240
[loc] add a validity check for the loc file (DOS mode, no BOM)

* Closes #238
v1.4.1 (build 348)