When in doubt: Cooperation in a noisy prisoner's dilemma