An upper limit to the photon fraction in cosmic rays above 10^19 eV from the Pierre Auger Observatory