fixed bug that prevented a newly created file to be opened with registered files actions
Merge pull request #1894 from owncloud/texfix

fixed bug that prevented a newly created file to be opened with register...