Encode tilde character (~) in Dropbox paths