Detect file extname and interceptor favicon.ico