modified module template to make incoming/outgoing chmod optional

i feel that outgoing/incoming chmod should be an optional value, it may well be the case that the actual permission on the source items should remain in place