registry rotation on Windows fails

this is fix for #270