On the Linux platform (and presumably macOS, untested), the sizes when you create files are off by -1 byte per line in the file. This can quite easily be fixed with some if statements against the variables $IsLinux and ... the one for macOS, and tweaking the code. Didn't revisit the code yet, so I don't have a clear picture of the amount of work required at the time of writing this.
Workaround: Add +1 * <number_of_lines> bytes to the total size when on Linux (or Mac).
On the Linux platform (and presumably macOS, untested), the sizes when you create files are off by -1 byte per line in the file. This can quite easily be fixed with some if statements against the variables
$IsLinuxand ... the one for macOS, and tweaking the code. Didn't revisit the code yet, so I don't have a clear picture of the amount of work required at the time of writing this.Workaround: Add +1 * <number_of_lines> bytes to the total size when on Linux (or Mac).