gui: Refactor checking for .sav and .por suffixes.