fix CreateFromFile to not access memory it doesn't own

NNet::CreateFromFile was accessing memory past the end of a buffer (specifically the "name" array). Now it's not. Hooray!