Correctly update folder status on file change and propagate to parents