Fixed incorrect handling of paths contaiin whitespaces

It's a very simple fix to make Ansible work with whitespaces in paths. It works for me, and I hope you will accept it in upstream in this form or feel free to modify the code in any way (to comply with your code style or something).