issue #369 by JrgenGNielsen: Init public://backgrounds directory

 if it doesnt exist or is not writable