Rotate images of screenshots that aren't in portrait before writing them.