Fix probable refcount leaks in freeing bytes -> str mapping

PyDict_SetItem does *not* steal references to items that it's given.