Set the attribute to True to include the attribute name in the HTML output:
True
Input(type='file', webkitdirectory=True)