Modified save and open behaviour so that opening rewrites will work if
file had a non-4-char extension
Merge branch 'dev'