Decode the path-like filename from the filesystem encoding and error handler; return str unchanged.
os.fsdecode(filename)