Add completion function to :EditFileTypes.
silent 'write' commands.