See this thread (and the links in it) if you find a similar behaviour on your system: File... cannot be opened for writing