updates wrt deprecated rake tasks and libmagic 5.17