Ensure app directory exists.