A log rotation implementation for Go