fixes #290 override the write function of loan_loan
Merge branch 'master' of git@github.com:RonBe/loan.git
fixes #290