Open file in buffered mode if the name has prefix "buffered:"

Signed-off-by: David Scott <dave.scott@eu.citrix.com>