Mode characteristics of a D-shaped porous fiber with a thin gold layer in the THz regime