HDFS-6099: check limits before quota during rename