Fix escaping issues when dir contains '%' or other special characters.
Add test for special charactors escaping.
Modify test case.
Version 0.5.5