InputStream and File should be closed (Fix #266)

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