Move periods outside of the quoted values in exceptions.

This was a misguided attempt at a consistent punctuation rule, but as @nburka points out, it makes paths and variables look like they have a period in them.