Temporary file copy fix Bluez

If size is -1 it will go in endless while loop.
Added error handling in case QIODevice cannot be read.

Change-Id: I2026e45ac48592f32ce275871bf992413d7815b6
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>