#6267: Don't refer to file's dimensions if file doesn't exist.