[rhq-project/rhq] fe9dc1: [BZ 185375] don't write until we finish reading