RandomAccessFiles are not thread-safe.