local: Ensure directory for library exists (fixes #703)
Merge trygveaa/fix/bug-703-library-ensure-directory-exists into develop
local: Created needed dirs when scanning (fix #703)