Personally, I don't believe it's an application's responsibility to try and protect any and all hardware against any and all limitations those hardware options may have. Many UFDs don't have this overheating problem you mentioned... maybe better to try an find quality hardware to use instead. IMHO...
...and I surely don't consider a Sandisk UFD to necessarily be a quality device... especially after Western Digital bought them up. I've had lots of Sandisk issues with UFDs, not necessarily overheating. One of the better Sandisk devices is a multi-gB EXTREME UFD. I can write up to its 61gB size at full speed without any heat issues. Maybe you've got a flakey drive.
...and I surely don't consider a Sandisk UFD to necessarily be a quality device... especially after Western Digital bought them up. I've had lots of Sandisk issues with UFDs, not necessarily overheating. One of the better Sandisk devices is a multi-gB EXTREME UFD. I can write up to its 61gB size at full speed without any heat issues. Maybe you've got a flakey drive.