[pgp] Fixed file sharing feature.

The encrypt_file method from PGP module needed a stream instead of
bytes.
1 job for master
latest
Name Stage Failure
failed
run-test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job log