Fix bug where gemfiles would fail to be removed after fetching.