Prefer :flatten => true over path fix

0.16.4 provides option to flatten the zip file, so I've reverted the changes and added the option.