If only a single file is to be branded, open the fd, enter the sandbox, process the file
If more files are provided, fork for each fd (max 3 concurrent), and kqueue until they are all finished.
Close the fd on the parent once the fork has started, and the fork will close the fd as soon as it is finished.
This should prevent the FD limit from being encountered even with a large number of files.