Strip invalid xml chars from install history