Close file descriptor

Fix for leaking opened file descriptor
Merge pull request #8 from aju/patch-1

Close file descriptor