Fix data and type being set in the intent to open a file

Merged username-removed-376539 requested to merge tfKamran/LabCoat:develop into develop

The files were being downloaded in the downlaods directory, but none of the plain text editors were able to open files with the intent being made.

Tested on Solid Explorer and Droid Edit