A new study finds that aspect of your personality could affect your bank account.