How to convert photoshop’s custom shape’s stroke to a vectorized path

You have a stroke on your vector shape. You need to resize the shape. The result is bad, because the stroke does not resize proportionally. Photoshop does not have the feature of expanding appearance, like in Illustrator. So what you can do is save the file as .eps format, open it in Illustrator and then grab the shape from there, with the stroke vectorized! Ta-daa!