File upload management for the Pyramid web framework