serialize args so that quoted args with spaces are handled correctly