/**
  * Writes a file containing a timestamp to the specified directory. The file will be named <code>
  * .kiji-last-used</code> and will contain one line, which will be the timestamp specified. .
  *
  * @param directory is where the timestamp file <code>.kiji-last-used</code> should be written.
  * @param timestamp to write to the file.
  * @throws java.io.IOException if there is a problem writing the file.
  */
 void writeTimestamp(File directory, Long timestamp) throws IOException {
   File timestampFile = new File(directory, TIMESTAMP_FILE_NAME);
   BentoBoxUtils.writeObjectToFile(timestampFile, timestamp);
 }