Fix orientation after jpegtran

Before the recent change to preseve jpeg metadata, the jpeg was
always treated as orientation 1; now it's necessary to poke this in
after caling jpegtran