These are wrappers around tempdir and tempfile that creates the
directory or file, to ensure a correctly normalized filepath (i.e., on macOS).
td(dir = tempdir())
tf(ext = ".tif", dir = td())Character string indicating the filepath to the newly created file.