Fix SaveGSS when other period characters in filename. Refs #6655

It used to assume the first period marked the extension but this is not
the case for example in is_test_ubuntu-12.04* jobs on the buildserver
Merge remote branch 'origin/bug/6655_savegss_fail'