selecting binary file from sidebar opens parent directory, closes #550