Adding some functions for getting the file status of the working copy of a repository.