Convert stack into xmipp/relion format