Added "pipestatus" to get errors on piped commands.
Capture stdout from find command on rotateBinlog function