Fix delete method to work properly with amazon s3 sorage system.. fixes #5