Update example to not use a filename that causes problems on windows and split out rotate example into its own file, since it's the only thing that is linux-only