PHP - Improved documentation and error messages related to uploads to folders that are not writable