afpd/file: fix memory leak

Reported by Coverity as CID #201194.
afpd/filedir: fix memory leak

Reported by Coverity as CID #201196.
afpd/colume: fix a couple of memory leaks

Reported by Coverity as CID #201199, #201200.
cnid_dbd: fix resource leak

Reported by Coverity as CID #968567.
afpd/directory: avoid unitialized pointer read

Initialize fullpath to null so that in case of error before its
allocation we don't call bdestroy on random memory.

Reported by Coverity as CID #201284.
libatal/vfs: stats a path before checking if it is a directory

Reported by Coverity as CID #201301.
Merge pull request #18 from xrmx/coverity3

More issues reported by Coverity