empty pipes when reading contents, for #1536