using more java.nio.file
exception is different in 1.7
use same versions