MODULES-434: handle proxy authentication in apt_key#source_to_file

Avoids "407 Proxy Authorization Required" errors while downloading keys.

Bug report: https://tickets.puppetlabs.com/browse/MODULES-434
Perhaps use `unless` instead of `if not`.