fix Unmatched or `No such file or directory` errors

In #1155. here is a `No such file or directory` error. and in my freebsd has other error like this:

```python
Fatal error: sudo() received nonzero return code 1 while executing!

Requested: mv "939cd8c72cb4a131c94118e1f5a11c1c0178696d" "/home/vagrant/test/tmp/1.conf"
Executed: sudo -S -p 'sudo password:'  /bin/bash -l -c "mv \"939cd8c72cb4a131c94118e1f5a11c1c0178696d\" \"/home/vagrant/test/tmp/1.conf\""

======================================================= Standard output =======================================================

Unmatched ".

===============================================================================================================================

Aborting.
```

the fabfile is:

```python
```