get rid of files/solr dir, fix tests and a file download bug