Write OSL shaders in ProjectFileWriter.