Use regex for trimming file:// destinations
A problem with cut was causing:
$ DEST="file:///media/user/data"
$ TMPDEST=$(echo "${DEST}" | cut -c 6-)
$ echo $TMPDEST
///media/user/data
The fix uses a regex instead so that we trim away things correctly. It also seems somewhat more
readable.