Preserve transparency when loading from a file

Fix #7148 - again :)
Merge pull request #10362 from owncloud/preserve_transparency_on_fileload

Preserve transparency when loading from a file