always get the good image orientation

using -auto-orient

fixes #41

fix tests