Changed open mode in handlers.py

Changed open mode to rb, it fixes a bug rendering images on Windows.

http://docs.python.org/2/library/functions.html#open