fix file-input: add a display block to filename

This fix hide text when the filename is too long.