Fixed bug with file extensions in book field