1) added indexes on file paths (parent, name)
2) fixed deletion of files sharing same bytestore file id