fix bug in updating quota files; change to work in 1K units