Fixed bugs writing textures

* Btx0.cs: Fixed bug writing padding

* Npck.cs: Detect texture files.

* NpckFactory.cs: Return a new pack file.