Creating folders if missing. Fixes #37.