Attach 'bytes' object to a current job. Data are saved as it is under specified name.
Attach a directory to a current job as tar archive.
Attach object to a current job. Object is pickled and save under specified name. Mime type is set to 'application/python.pickle'
Attach a text to a current job. Text is saved as UTF-8 text with MIME type text/plain".