docs: def format_and_is_storage(path):
      """
      Checks if path is storage and format it.
  
      If path is an opened file-like object, returns is storage as True.
  
      Args:
          path (path-like object or file-like object):
  
      Returns:
          tuple: str or file-like object (Updated path),
              bool (True if is storage).
      """
      if not hasattr(path, 'read'):
          path = fsdecode(path).replace('\\', '/')
          return path, is_storage(path)
      return path, True