stacktrace: remove usage of FILE in stacktrace