psio->exists(int): Close dangling file descriptor
Merge pull request #28 from tomspur/dangling_fd

psio->exists(int): Close dangling file descriptor