Sanitize replacement filename