Fabrication of vertical recording heads