Upload data from internal memory to Dropbox
I was able to resolve my problem. I found out that since I am restricted in accessing the app's personal storage I couldn't create the folder called "files" (from /data/data/appname/files), however, by directly writing the data to /data/data/appname/, I was able to access and upload the data.

Hope this helps someone.