minor fixes in file open/save