fix files only containg comments not being output - fixes #259