Fix input_params upload handling, fix importxls.cgi for PgSQL/SQLite