Improvement to plugin/python_setup.vim

Minimize the number of python executions.
Add error handling.