fix: cleaned up file removal to pay attention to related files such as img/hdr/mat, BRIK/HEAD
Merge pull request #711 from satra/fix/remove_files

fix: cleaned up file removal to pay attention to related files