added temporary log messages, fixed HTTP ETag (now based on file path as well), moved mime-type code higher up (cleanup)