AccessDeniedErrormeans you don't have permission to write to that folder. This is not coming from better-file but from the JDK std lib itself (in the case of I/O from the OS itself)
.storeto specify the compression method for an individual ZIP file entry, and set it to STORED.
cannonicalFileis expressed like this:
def canonicalFile: File = toJava.getCanonicalFile.toScala