build scripts: exclude hidden files when compress ramdisk

Signed-off-by: Keff <funnykeff91@gmail.com>