Physical books have no associated file, so calling getPrimaryBookFile()
returns null. The metadata manager was crashing with NullPointerException
when merging/consolidating metadata (authors, genres, etc.) that included
physical books.
This fix skips physical books in writeMetadataToFile() since there is no
file to write metadata to.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>