Files: set the proper mimetype when creating a new text file
Merge pull request #3246 from owncloud/newfile-mimetype

Files: set the proper mimetype when creating a new text file