setup.sh: Only use major version of centos releases.

Use version 6 instead of 6.4 when creating directory structure of wheels
packages.
Update setup.sh
Print exception in yaml_config.py