Fixed nasty bug relating to binary mode that prevented compiled fortunes from working.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>