Fix bug when writing tailing '\x00' to prefix in extractFromInterest()