It's safe to call os.fsencode() regardless of whether the filename was
passed as bytes or str. Remove shim for os.fsencode(), it has been
available since Python 3.2.
It's safe to call os.fsencode() regardless of whether the filename was
passed as bytes or str. Remove shim for os.fsencode(), it has been
available since Python 3.2.