Switch exception-catching syntax to use 'as'

This change switches rbtools over to the future-proof "except X as Y" syntax.

Testing done:
Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/6577/