Android: File write on sdcard / sending data to server