Add pkg_open_fd to open from a file descriptor, this helps with capsicum
Capsicumize pkg info