Replace shellcmd calls with copy_file calls.