using mkstemp on Android