Capture android accelerometer events into a CSV file