Reworked file tool functions.

They are now directly taken from ogs' BaseLib and put into the
namespace VtkFbxHelper.