proper status code when writing to SD card