Shouldn't this be using `extra::tempfile` for the default?