Fixed MANIFEST and MNIST database handling.