smart auto-completion of extension when opening files in speced from cmdline