The -O option caused curl to crash on windows and DOS due to the tool writing out of boundary memory.