Added check for existing directory in DirectoryScanner.
Fixed problem in TailSpout where the current file is closed and set to null even if there is no other file to be opened.  Added sources jar.