using curl to download simplepie