FileUtils: Add function to write unsigned char vector to file