Fix issue where isDirEmpty could return true in wrong situation
updates changelog