PHP Safe Mode Fix 1/2

This prevents the presskit(); installation from breaking the webpage if PHP_SAFE_MODE is enabled. I'm not sure if it's the most elegant fix to do so, but it solves the problem. It does not carry out the whole installation process(I am still working on this), however the functionality to connect to a FTP server (creating directories / deleting and creating files) has been established.