better error message for history file write error
better error message for history file write error

Reviewed By: lucas

Test Plan: chmod -x ~/.phpsh/history

Revert Plan: ok

terrorbox/phpsh,AsafMah/phpsh,rhee/phpsh,rhee/phpsh,facebookarchive/phpsh,rhee/phpsh,rjmi004/phpsh,AsafMah/phpsh,terrorbox/phpsh,chooaya/phpsh,rjmi004/phpsh,chooaya/phpsh,rjmi004/phpsh,facebookarchive/phpsh,chooaya/phpsh,AsafMah/phpsh,terrorbox/phpsh