Use temp file for key import to prevent annoying tty issues