don't use rex_error_handler in setup

refs #174
avoid php warning

refs #174
setup writable check: check all dirs/files

closes #174