Permit cache-url to work with fifos.

This makes it easier to work with temporary files - less traps
scattered around higher layer code.

Change-Id: I2fdd93115a7b0d289c2e28f8c133d4059de75b87
Merge "Permit cache-url to work with fifos."