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

There is a dangling file descriptor around, whenever using `psio->exists`. This commit closes it again properly.

Verified with valgrind.