Remove unnecessary semicolon in mikeassh’s assertion code
Use FILE * instead of NSFileHandle * for unbuffered, writes by appending

(thanks mikeash!)
Only “lock” for opening log file handle.

Synchronization is handled by the calls into fwrite().