Use file_get_contents as a fallback

curl isn't always available, especially on Windows machines