fix diff in dir with existing src dir with maybe destdir to createSpecFile
System.FilePath.Posix -> System.FilePath