Fixes #921: logging.xml and output_types.xml handlers have variable name escaping problems