Improved our Core::getSaveFileName() method.