class_docstr: A context manager for managing a temporary file that will be moved
  to a non-temporary location if no exceptions are raised in the context.
  
  Parameters
  ----------
  final_path : str
      The location to move the file when committing.
  *args, **kwargs
      Forwarded to NamedTemporaryFile.
  
  Notes
  -----
  The file is moved on __exit__ if there are no exceptions.
  ``working_file`` uses :func:`shutil.move` to move the actual files,
  meaning it has as strong of guarantees as :func:`shutil.move`.
class_docstr_tok: ["A","context","manager","for","managing","a","temporary","file","that","will","be","moved","to","a","non-temporary","location","if","no","exceptions","are","raised","in","the","context",".","Parameters","--","--","--","--","--","final_path",":","str","The","location","to","move","the","file","when","committing",".","*","args",",","*","*","kwargs","Forwarded","to","NamedTemporaryFile",".","Notes","--","--","-","The","file","is","moved","on","__exit__","if","there","are","no","exceptions",".","``","working_file","``","uses",":","func",":","`","shutil.move","`","to","move","the","actual","files",",","meaning","it","has","as","strong","of","guarantees","as",":","func",":","`","shutil.move","`","."]
docstr: Sync the temporary file to the final path.
          
code: def _commit(self):
      """Sync the temporary file to the final path."""
      move(self.path, self._final_path)
  
imports: from collections import MutableMapping
  import errno
  from functools import partial
  import os
  import pickle
  from distutils import dir_util
  from shutil import rmtree, move
  from tempfile import mkdtemp, NamedTemporaryFile
  import pandas
  from .compat import PY2
  from .context_tricks import nop_context
  from .paths import ensure_directory
  from .sentinel import sentinel
label_desc: Use image node_id 3 for calling the working_file obj's underlying member method code with example usage: obj._commit() without return types