Fixed errors on windows and create

- fixed up and down migrations on windows
- fixed create command without --chdir