remove querystring for windows/*nix and expand home directory of *inx

Current version seems to be worked well on Windows but my Mac isn't.
And I use '~/GitHub/Ghost' to target directory but current version(`os.walk(static_path)`) cannot read this.