Large photo-induced voltage in a ferroelectric thin film with in-plane polarization