fixed delete of files of an open database.
Merge branch 'develop' of github.com:orientechnologies/orientdb into develop