Fix memory leaks

`fs_stat`, `fs_fstat` and `fs_lstat` were all leaking `stats` on failure :(
Merge pull request #12 from jwerle/fix/stats-memory-leaks

Fix memory leaks