With fountain pens people commonly ship them inside a length of thick PVC pipe and just tape off the ends and put that into the package. Maybe that could be adapted to razors?