Fixed EXIF.py and refined test.

EXIF.py: Correct convert from "undefined" or "ascii" value to exif
bytes.