Fixed issue with PageUpdate if directory is writable but the file isn't.