LookAndFeelConfiguration.logo should be bytes
Fix iterator usage on Python 3