Update wsiToDcm.cpp
Update wsiToDcm.cpp

fix return error

GoogleCloudPlatform/wsi-to-dicom-converter,GoogleCloudPlatform/wsi-to-dicom-converter,GoogleCloudPlatform/wsi-to-dicom-converter,GoogleCloudPlatform/wsi-to-dicom-converter