Fix `_create_fcgi_script`

Guard against `KeyError`; properly recognize `stdout`; use `P.lib_dir`,
not `self.lib_dir`
Allow multiple lib-dirs in deployment