Add script to safely auto-rotate photos.
Add optparse.