create folder when local dir does not exist