web: Fix workflow submission by moving upload code into a tornado handler