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

 if it doesnt exist or is not writable
There should not be any spaces at the start and end of ()