updated getexternalstoragedirectory to getExternalFilesDir for reading and writing capturedimages (this was broken via a kitkat update)