Fix and improve treatment of permission exceptions
When getting dark files folder, make sure the dataset has permissions for writing, and add a dark folder inside the treated data. Don't emit dataset if an exception is risen.
When getting dark files folder, make sure the dataset has permissions for writing, and add a dark folder inside the treated data. Don't emit dataset if an exception is risen.