title: open failed:ENOENT (No such file or directory) error
body: <p>I've got a problem trying to upload an image I get from taking a picture with the camera,using amazon S3 android library.</p>
  
  <p><strong>To save the picture</strong></p>
  
  <pre><code>File _photoFile = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM),   (cal.getTimeInMillis() + ".jpg"));
  
              try {
                  if (_photoFile.exists() == false) {
                      _photoFile.getParentFile().mkdirs();
                      _photoFile.createNewFile();
                  }
  
              } catch (IOException e) {
                  // Log.e(TAG, "Could not create file.", e);
              }
              // Log.i(TAG, path);
  
              filePath = Uri.fromFile(_photoFile);
              Intent cameraIntent = new Intent(
                      android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
              cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, filePath);
              startActivityForResult(cameraIntent, 1);
  </code></pre>
  
  <p><strong>To upload the picture with the filePath:</strong></p>
  
  <pre><code>try {
              s3Client.createBucket(Constants.getPictureBucket());
  
              // Content type is determined by file extension.
              PutObjectRequest por = new PutObjectRequest(
                      Constants.getPictureBucket(), Constants.PICTURE_NAME,
                      new java.io.File(filePath));
              s3Client.putObject(por);
          } catch (Exception exception) {
  
              result.setErrorMessage(exception.getMessage());
          }
  </code></pre>
  
  <p>I keep getting an error <code>Unable to calclualte MD5 hash:/file:/storage/sdcard0/DCIM/13161272646580.jpg open failed:ENOENT (No such file or directory)</code></p>
  
  <p>but when I browse my sd card's directory I can find the picture there(the picture has been created), and I've created the relevant permissions.</p>