Fixed yara scan for opened file not stored yet