Create empty file before attempting to write with NSFileHandle

Apparently NSFileHandle doesn't create the file if it doesn't exist.
Reject IQs with nil JIDs