Fixed http transport for windows compatibility

This implements filestorage for windows and will be followed up by another PR in core. For now it only works for C:, but we have no use cases for other drives at the moment.
Not sure where rootDir is used, but please don't hard code to C:\