Update s3upload.js

Bug in S3delete function fixed. file variable was not defined and not passing a callback method was throwing error. Instead passed a new param 'path' from client and surrounded callback with a condition.