rename and lzo: properly check for overruns