Sanitize the filename of uploaded media in WordPress