Undefine fwrite_unlocked

Fixes #33.