Fix resolving /this/ in file_callback()