API: change 'signaturedir' to 'gpgdir'