[WSD] Fix Installing WSD from a directory without write permissions.