wtf?  use -o tmp instead of system2 stdout dumping to tmp file

Not sure why I wasn't using -o option in curl, but trying it now anyway