os.walk needs the path parameter to be unicode (only Python 2)

As per http://stackoverflow.com/a/16926375/2163315 the path parameter of
os.walk used with Python2 need to be a unicode.
Fix for bug #3533.