Fixed buglet where SaveCalFile could crash if passed filename was short.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>