Func: WriteDWORD.
Desc: Writes a DWORD to the file.
Returns the number of bytes actually written to the file.