Fix some obvious type warnings.
Store timer hook's timeout as milliseconds.
Always use 64-bit filesize and file offsets in DCC.

Based on LRN's commit for replacing stat with GFileInfo https://github.com/hexchat/hexchat/commit/32008bb

Fixes #382