Implement support for checking out (reverting) files.