storage driver fixes for WinServer 2012 ported from v8.2dev branch