suppress warnings of opendir like 'no such file/dir'