Are there Fire Code concerns?
The National Electrical Code, which governs these systems, specifies that if the DC conductors pass through the structure that they be in metallic conduit. This step is taken to insure that fire risk from potential faults is reduced. NEC also requires a disconnect switch for both the DC and AC conductors, which furthers protects your structure and your system from any fault.