Use !== and === in files_versions app

Mostly automated. Did some testing.

More testing would be nice.

Also see #2979, #2980, #2998, #3006, #3015 and #3050

cc @bartv2 @samtuke @schiesbn @LukasReschke