Fix cout/cerr outut to reporter