If the path is a string object, the result will also be a string object, and the call may raise an UnicodeDecodeError.
And it inherits from ValueError.
I saw from docs.python.org, maybe you missed this exception.

In fact, I have not explored this condition. :D 
Does anybody know?