Fix file uploads problem under Werkzeug 0.9+

Fixes GitHub issue #7
Release 0.3.3