Fixed windows path issues. Added support for subfolder for autopack

Fixed all windows path issues.
Added support for subdirectories for autopac, so now "save_to": ".\\dist" will create the .nw file in the specified directory, creating that directory if needed.