Fix compiler warning/error about string formatting
Add pdf and cbr to the accepted types