Spinorial cohomology of abelian d=10 super-Yang-Mills at alpha'^3