Added binary mode to ifstream (thanks Vlad)

Signed-off-by: Brandyn A. White <bwhite@dappervision.com>