Uniform low stress oxynitride films for application as hardmasks on x-ray masks