Fixing encryption for files with spaces (closes #20)