Fixed #253 Dir#glob not adhering to interface

Return the hidden files when needed.