Check if the selected download directory is writable when user presses select directory. Should fix #79.