fix notice on BeThumb when image without extension

avoid notice when image file name uploaded has not extension