fix file cmdline for linux