Fixed file close bug

File close was not being recorded. This fixes this problem.

This is part of the failed attempt to solve the events that are generated
before the resource is actually "created". Created as far as the eclipse
workspace is considered.