Fix creation of jsd directory.