rsync: Compatibility for both key and pem authentication
rsync: Compatibility for both key and pem authentication

Added checks for both .pem and private key files to provide compatibility for people using privateKey files instead of pem files.
deployphp/recipes,oanhnn/recipes