fixed auto chmod of incoming and outgoing files

* added test and documentation

However. rsync also works with those parameters (incoming_chmod and outgoing_chmod) set to epmty string.
But in this case the configuration may confuse human readers.