Fix patching in non-ldap case

The var name was wrong: it's the "FILESDIR" variable that contains the files directory path, not "FILES_DIR" :)