implement chdir(path) on Windows

chdir is not implemented on Windows.
fix #28 

jruby/jruby#1115 might be improved by this.