Record testing output into gridfs storage