Adds path type and remove expanduser
Adds path type and remove expanduser

Related to #12263, this patch removes the usage of expanduser
in favor of the path 'type' for the module options of src and
dest

thaim/ansible,thaim/ansible