How to prevent Yosemite's Finder from seeing a folder with a .epub extension as a epub file?
You could look at using duti, a command line tool that lets you change the the file type association of an extension.

Along with duti, something like this could work:

com.apple.finder    .epub
com.apple.finder    .key
com.apple.finder    .numbers