Fix unicode (change str to unicode)

Sorry, I sent the wrong commit. Instead of str should be unicode.