Use UTIs for AppleScript actions

Fixes #1916