Handles exception thrown when unable to chgrp on file