fix off-by-one in glslopt file save

glslopt was writing an extra byte (the NULL character)
to the output file.  Since GLSL files should be plain-text,
this could be a problem in some environments.