Check drop folder file status prior to setting its status to error

SUP-1376