Support Uploading Files outside of web root

Currently the CRM system uses incorrect implementations of file utilities ever since PHP 5.4
This causes problems with CSV imports and prevents users from selecting a directory to upload files to.

Please see UploadStream::stream_metadata is not implemented 路 Issue #10011 路 salesagility/SuiteCRM 路 GitHub for more details

By applying the fix proposed by chris001, it will be possible to separate uploaded files from the application code of the CRM and the error messages generated when uploading CSV鈥檚 will cease.