Func: WriteINT64.
Desc: Writes a INT64 to the file.
Returns the number of bytes actually written to the file.