move scons helper to fileutils