Add GTCore.IO.DeleteFile() to the scripting library.