themes: 
1. clean code
2. use dutils.EncodeURI replace dutils.PathToURI / encodeURI
3. use dutils.DecodeURI replace dutils.URIToPath / decodeURI

Change-Id: I9fc4c061219e9db1068a33d574b967580aa69619