RESTful file upload service in pyramid