LUN-752 and LUN-751 Preserve acls on file copy and fix url quoting corner cases