Add VMS version of app_dirname()