fileinfo is no longer a array

fix encryption unit test now that https://github.com/owncloud/core/pull/6748 was merged

cc @PVince81 @icewind1991 @blizzz