Fix EXC: undefined local variable or method `upload'

This fixes the error in the subject line that occurs when attempting to upload a file not included in the acceptable types.