Pipe python files with curl