Fixing rpi window provider to make it compaltible with py2.7 and py3.3

Fixes #1300