Bug-fix for files plugin render handler.