Use rel2abs() on VMS, rather than realpath()