Only include files markup if item has files.

Fixes #244.