add convenience function to make a file executable