autorotate: Add missing dot in extension check