Fix exception string formatting.