replace delete-trailing-whitespace by whitespace-cleanup
add call of cleanup-buffer-safe to before-save hook