Use !== and === in files_sharing app

Mostly automated. Did some testing.

More testing would be nice.

Also see #2979, #2980, #2998 and #3006

cc @blizzz @MTGap @bartv2 @icewind1991 @LukasReschke