like other code in blender it should write to the one actually verified to exist. Also fixes wrong temp directory when loading user preferences with no temp directory from a state where one was specified.