Fixing writes to C:\