Fix memory leak

If `fread` fails, `file_contents` is leaked.  I’m just freeing the memory allocated :)
Merge pull request #12 from stephenmathieson/fix/memory-leak

Fix memory leak