:body InputStream and File should be closed

When InputStream or File was given as a :body then it was consumed but
never closed causing "Too many open files" errors.