fix filelist.createRow to be the same as PHP rendering and fix tests