Allow stdin local file for streaming writes

Note that this requires reading the entire file into memory to
calculate the Content-MD5.