CRAFTERCMS-849
Fixed bug in rendering list of files