autorotate: Use pathlib for extension check (fixes #58)
autorotate: Use pathlib for extension check (fixes #58)

jbaiter/spreads,adongy/spreads,jbaiter/spreads,DIYBookScanner/spreads,miloh/spreads,nafraf/spreads,jbaiter/spreads,gareth8118/spreads,adongy/spreads,nafraf/spreads,nafraf/spreads,gareth8118/spreads,DIYBookScanner/spreads,DIYBookScanner/spreads,miloh/spreads,adongy/spreads,gareth8118/spreads,miloh/spreads