Use a separate input directory

Modifying files in place does not play well with git.