Fix depexts printing

This still leaves the indentation bug, however.