replacd the get_file_contents function with curl

its faster now, and it works on my server without fucked with the server config