cr2test code unified with rawfs.c
can now produce valid jpeg with broken exif
now exported exif is parseable (but not perfect yet)