fixed root path value types.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Merge pull request #21 from appleboy/patch

fixed root path value types.