Merge "Add FLAG_PARTIAL. Partial files can't be copied." into nyc-dev