WIP fix spec failures

The spec failures seemed to be associated to the tempfile / tempdir being deleted. Vim then throws an `E211 File no longer exists`.