Three body photodissociation of the water molecule and its implications for prebiotic oxygen production