Added data directories write support to the skeleton image generation tests