Here's how I'd do the same thing; a little different, same results, with some of the work automated.
First, I'd make a Solid Color layer filled with white, and fill the layer mask with black. I'd give it a Stroke layer style, with a black stroke set to whatever thickness looked good, and maybe...