Fixes website input file writer

This fixes the website input file writer. See https://github.com/GreenGroup/RMG-website/pull/68 for more info.