I am having this same issue with the files not getting inserted right. If the files are in a sub directory then the file will not have a / in between the root and sub folder. If in the sub folder it works fine. The $kfm_userfiles_address = ../../elements/uploadFiles and I cannot add a / at the end to fix issue.