Faithful Transmission of Single-Photon Qubits Using Error-Rejection Coding