get rid of newline chars when reading password file

To be consistent with: https://github.com/ansible/ansible/blob/devel/bin/ansible-playbook#L130-L131