fix bug with undefined status code in uploader when the target file is absent