Route for thumbnail generation

Related to https://github.com/owncloud/android/pull/586