Google Cloud Storage Compatibility

added conditional statements that preserved file URIs with the "gs://"
Google Cloud Storage PHP stream wrapper.