Fixes argument handling bug pointed out by Antonomasia. Other appearances of "buf_appendf...argv[++i]" (but not "buf_appendf...argv[i]") may have similar problems.
Changed paths: