Expand destination path in the fetch action

Fixes #4215
Merge branch 'issue_4215_fetch_expanduser' into devel