Use tempfile for imgur filesize.
Pass tempfile to file size