add fclose, fixes issue from bdb96b9af85256f9b3f8663ccf6d27b3d1330918
Merge pull request #7568 from owncloud/lib_preview_add_fclose

add fclose, fixes issue from bdb96b9af85256f9b3f8663ccf6d27b3d1330918