Allow ~ files to be processed like the original office file.  fixes #9057