Ok, it actually worked, but now its throwing PHP errors.
/srv/ticket_attachments/t/t7ME8kAflICcIwwDHcyihNC5yVMFZBHo:Unable to open for reading
#0 (root)/include/class.file.php(472): FilesystemStorage->write('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...')
#1 (root)/include/class.forms.php(3721): AttachmentFile::create(Array)
#2 (root)/include/class.mailfetch.php(856): FileUploadField->uploadAttachment(Array)
#3 (root)/include/class.mailfetch.php(947): MailFetcher->createTicket(1)
#4 (root)/include/class.mailfetch.php(1027): MailFetcher->fetchEmails()
#5 (root)/include/class.cron.php(25): MailFetcher::run()
#6 (root)/include/class.cron.php(110): Cron::MailFetcher()
#7 (root)/include/api.cron.php(19): Cron::run()
#8 (root)/include/api.cron.php(40): CronApiController->run()
#9 (root)/api/cron.php(23): LocalCronApiController::call()
#10 {main}