Fix `getValue` call for input file writer

This fixes the website input file writer. There is
still more to add e.g. QM in the input file writer,
however this will prevent it from breaking (hopefully).
Merge pull request #211 from pierrelb/webInpFileWriter

Fixes website input file writer