rename .local to be .<package>.<file>
fixed issue with check of write permission check.