Allow calling getFilesInDir with null files