re-added rtftohtml in binary mode. Fixed compilation problem on darwin due to declaration of malloc()