Improve new file editing

If no name was provided (but only the directory), then a "No Name" buffer
is created. If nothing is passed (e.g. Esc pressed), the action in
aborted. When some name provided, then it proceeds like before (edit and
creates subdirs if necessary).