fix regression from fcd39b851e52baf8f14dcc40a8e55058755a61b2 on not optimizing files when -c provided without an -o