Improvement to generation of binding files, allowing version number to be supplied.