disable X-Sendfile in production environment; this allows us to avoid installing apache mod_xsendfile
added a basic test that checks whether the tmp folder is writable