The ZFileUtils, which extends zscript functionality through a dynamic library, has been updated for ZBrush 4R7. This version includes files for both 32bit and 64bit.
If you are updating a plugin then please check the included sample zscript, especially on how to get to correct file path for 32bit/64bit. When creating a plugin for both versions of ZBrush 4R7 you will need to install your plugin both in the ZStartup/ZPlugs folder (for 32 bit) and in the ZStartup/ZPlugs64 (for 64 bit). The CheckSystem routine included in the zscript example shows how you can use a single zscript for all installations.
With this new version, another thing to consider is how your plugin handles any temporary files it needs to write. ZBrush and its plugins now write all temp files to folders within the ZBrushData folder located in the Public/Shared folder. In a typical installation this will be at C:\Users\Public\Documents\ZBrushData on Windows and at /Users/Shared/ZBrushData on MacOSX. Plugins write to their own folder inside the ZBrushData/ZPluginData folder, and the new ZFileUtils documentation shows how you can add your own plugin data folder if you wish. It’s not essential that you follow this route but writing to the Public/Shared folder can avoid file read/write permissions issues.
Latest version - March 4 2016 - adds function for renaming Layers/SubTools
I hope you find the ZFileUtils useful.