Updated deployment stage directory creation.