write out ver.txt after everything has completed ok
order child_process.exec callback parameters correctly
Merge pull request #130 from jrgm/issue-126-write-ver-txt-at-end

write out ver.txt after everything has completed ok