Fix download small files with file dialog