Fix Curl options order

Curl on OSX must receive the target file name immediately after -o.