Base64 decode facts

$binary = base64('decode',$eucakeys_foo_foo)
file { '/tmp/foo.pdf':
  content => $binary,
}