Fixed errors on windows and create commad

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