Passes tests, but doesn't really handle nrows (and removing partially full files) correctly, when deleting near the end of the data.