Update lib/apple-dev.rb

Fixed PKCS7 error when attempting to download provisioning profiles that are expired or invalid.