Fix setting transaction timeout from CPL script.

Using AVPs in obsolete; we need to do it now via the TM API.