fix encoding error in pretty formatter indentation
fix encoding error in junit serialization