NSW fire damages historic Zig Zag railway