Revert "NWUKFS-406 Upgrade kfs foundation 5.0.2"

This reverts commit e8b32d6e700fac6139701b2129e1084804720d81.