Extract "dx get applet-XXXX" machinery into its own module.