[ENTESB-1394] sanitize file name from wrap: protocol

(cherry picked from commit 94a0028cdd3f1de648dfe63f8bb5277f36cba933)