properly escape folder/username/password which include double-quote or backslash.