Decode the name argument

The name ends up being a bytes in Python 3.