Passed image through intent instead of file.

As per suggestion,  I passed the image through the intent instead of
writing and reading it from a file.  There is a 500kb limit on intent
data, so if we ever increase the quality of picture we are sending, we
will have to go back to writing and reading from a file.