Sets the size of the file at path to length.
path
length
If the file was smaller than length before, the rest is filled with zeroes.
void truncateFile(String path, int length);