Fixed issue with portinstall on FreeBSD

Piping shell commands needs use_unsafe_shell set to True. Fixes issue #7691