Fix Filehandler.printLabels method