Rewrote k.getFileName.  File-name completions now work intuitively in file-open-by-name.
- This code will be used in the vim-mode r: command, etc.
- Added class FileNameChooser.
- Fixed crasher involving at. encoding.
All tests pass.