clean permissions cache on filescan

fixes https://github.com/owncloud/core/issues/4356
@icewind1991 @karlitschek @DeepDiver1975 please review