Replaced stderr with LOG_DEBUG when determining file size.