Fix for file uploads not redirecting (Fix #109)