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!
Merge pull request #9 from deoxxa/patch-1

fix CreateFromFile to not access memory it doesn't own