fixes bug 1066820 - Post upload automation puts in the template environment as `file=`