snuffling: fixed a problem in Snuffling.input_directory()