Original filename issue fixed

Abstract does not have `original_filename` in newer versions of Ruby anymore. So we have to emulate it to make things work.