core.fm: only apply open_all_files to cmds with $@