fix thumbnail generation for subdirectories in the conflicts dialog

Fixes generation of thumbnails for files in subdirectories, a bug that surfaced with https://github.com/owncloud/core/pull/7296 - Added the ability to Drag and Drop folders [chrome] 

@lukepolo @karlitschek @jancborchardt @MorrisJobke @georgehrke please review