File rollback bugfixes.