fixes #1025 ajax upload delete didnt delete file from server