Add some error checking and handling of directory creation for ~/Library/LaunchAgents