Log filename and date when git is not being used.

Previous commit updated information being logged about the file when git was
being used but when git was being used, only the diff output was being logged.
Adding a line to log the file name and date when there isn't a git repo in
the current directory.