b8797d listfiles: make it robust against all kinds of “interesting” input

Authored and Committed by nim a year ago
    listfiles: make it robust against all kinds of “interesting” input
     – restore protection against empty input
     – handle non-empty inputs, with whitespace, quotes, linebreaks, etc
    
        
file modified
+2 -2
file modified
+1 -0