Replace '$' and '.' in keys of Data member of logged Exception.

Unable to test immediately, but I believe this fixes #24.