make `generate_protoc_files` work with Windows and Linux