Added ltrim to  in fetch_file_contents to fix edge cases where a URL has one or more spaces before it, which causes CURL to fail.
Merge pull request #403 from dzaikos/patch-leading-space-urls

Added ltrim to $url in fetch_file_contents()...