Fix directory chooser.