Fix upload of files from DocumentsProvider in Android > 4.4

This method, and all the subsequent new methods about URIs, should be in a separated class; a static Utils class or a Helper class.