Fixes issue raising some VO warnings when DeprecationWarnings are
converted to exceptions on Python 2.6
Merge pull request #2027 from mdboom/vo/exception-deprecation

Fix deprecation on Python 2.6 when raising some warnings in `io.votable`