Solvation input file writing