improve version check for subprocess.check_call and subprocess.check_out...

...put functions