Fix wrong self links in File resources.  Fix File and Folder path
parameter to use non html safe strings since they are auto html safe
stringed when displayed in generated code