Add directstageout flag to filemetadata