Remove curl code.

This is dead code anyway, due to the return preceding it, and an
attempt to switch to using it just caused timeouts.  The file_get_contents
code works and is shorter, so we might as well use it until it's
necessary to seek less nasty ways of doing it.