Fixed camera capture

Fixed camera capture on several devices by always using a temp file to store the output, thus circumventing the problem of having a null Intent being returned.
Switched temp file to externalCacheDir as well, since that's where you should actually cache large files, such as images.