Add a script to fix mtimes of checked out files

When checking out files, git doesn't update modification timestamps to
match the repository version, because it doesn't store the metadata
required.  This script parses commit author timestamps of every file,
setting them appropriately.  This allows Makefiles to work in the
expected way, after pulling from the repository.
Update usage and exit when chdir fails.