getexif: initial version